package br.com.skytef.entity;

import java.util.ArrayList;
import java.util.List;

public class MessageEntity {
	private int type;
	private String title;
	private String message;
	private List<String> messages;

	public MessageEntity(){
		type = 0;
		title = "";
		message = "";
		messages = new ArrayList<String>();
	}
	
	
	/**
	 * @return the type
	 */
	public int getType() {
		return type;
	}

	/**
	 * @param type
	 *            the type to set
	 */
	public void setType(int type) {
		this.type = type;
	}

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title
	 *            the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * @param message
	 *            the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}


	public List<String> getMessages() {
		return messages;
	}


	public void setMessages(String line) {
		this.messages.add(line);
	}
	
	public void setMessages(List<String> lines) {
		this.messages = lines;
	}
	
	

}
